package com.sellspringcloud.server.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author
 * @create 2019-08-10 17:03
 **/
@Data
@Entity
public class UserInfo {

    @Id
    private String id;

    private String username;

    private String password;

    private String openid;

    private int role;

    /** 创建时间. */
    private Date createTime;

    /** 更新时间. */
    private Date updateTime;
}